<h2 class="title">{%if $act eq 'add'%}添加{%else%}修改{%/if%}验收报告</h2>
<form action="index.php?c=zy_mc_auth&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">
<table class="tb_term" width="100%">
<tr>
	<td class="alignright">验收合同编号</td>
	<td colspan=3>
		{%if $contract_no%}
			<input type="text" name='contract_no' id='contract_no' value='{%$contract_no%}' class="input_edit_stand txt-normal" readonly>&nbsp;&nbsp;
			{%if $act neq 'edit'%}<a href="index.php?c=zy_sell&is_jump=1&is_show_sell=1" class="" hidefocus="true">请重新选择</a>{%/if%}
		{%else%}
			<input type="text" name='contract_no' id='contract_no' value='' class="input_edit_stand txt-normal" readonly>&nbsp;&nbsp;
			<a href="index.php?c=zy_sell&is_jump=1&is_show_sell=1" class="" hidefocus="true">请选择</a>
		{%/if%}			
	</td>
</tr>
<tr>
	<td class="tr_td_width01 alignright">验收报告编号</td>
	<td>
		<input type=text class="input_edit_stand txt-normal" name="mc_auth_no" value='{%$mc_auth_no%}'  dataType="Require" msg="">		
	</td>
	<td class="tr_td_width02 alignright">验收负责人员</td>
	<td class="tr_td_width03">
		<select name="admin_user_id" class="select_edit  txt-normal">
			{%html_options options=$admin_info selected=$admin_user_id%}
		</select>
	</td>
</tr>
<tr>
	<td class="alignright">验收开始日期</td>	
	<td>
		<input type=text class="input_date_edit txt-normal" name="mc_auth_start_time" id="mc_auth_start_time"  maxlength="12" value='{%$mc_auth_start_time|date_format:"%Y-%m-%d"%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "mc_auth_start_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
	<td class="alignright">验收结束时间</td>
	<td>
		<input type=text class="input_date_edit txt-normal" name="mc_auth_end_time" id="mc_auth_end_time" maxlength="12" value='{%$mc_auth_end_time|date_format:"%Y-%m-%d"%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "mc_auth_end_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<!--
<tr>
	<td class="alignright">附件地址</td>
	<td colspan=3><input type="file" name="file_path" id="file_path" size="40" class="txt-normal" /></td>
</tr>
-->
<tr>
	<td class="alignright">验收报告备注</td>
	<td colspan=3><textarea cols="70" rows="3" class="textarea_edit txt-normal" id="mc_auth_info" name="mc_auth_info" >{%$mc_auth_info%}</textarea></td>
</tr>
</table>
<p class="btn_right">
	<!--<input type=hidden name='contract_no' id='contract_no' value='{%$contract_no%}'>-->
	<input type=hidden name='mc_auth_id' id='mc_auth_id' value='{%$mc_auth_id%}'>
	<button type="submit" class="b-default" hidefocus="true"><span><em>{%if $act eq 'add'%}提交{%else%}更新{%/if%}</em></span></button>
	<!--<button type="reset" class="b-default" hidefocus="true"><span><em>重置</em></span></button>-->
	<button type="button" class="b-default" hidefocus="true" onclick="javascript:location.href='index.php?c=zy_mc_auth'"><span><em>返回</em></span></button>
</p>
</form>